﻿
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Aribaccio.Device;

namespace BDPAutodetect.Device
{
    /// <summary>
    /// 设备模组类型数据
    /// </summary>
    public class DeviceModuleData
    {
        /// <summary>
        /// 设备模组类型
        /// </summary>
        public DeviceModule ModuleType { get; set; }
        /// <summary>
        /// 设备模组描述
        /// </summary>
        public string ModuleCaption { get; set; }
        /// <summary>
        /// 默认构造函数
        /// </summary>
        public DeviceModuleData()
        {
            this.ModuleType = DeviceModule.None;
            this.ModuleCaption = string.Empty;
        }
        /// <summary>
        /// 带参构造函数
        /// </summary>
        /// <param name="argModuleType">设备模组类型</param>
        /// <param name="argModuleCaption">设备模组描述</param>
        public DeviceModuleData(DeviceModule argModuleType, string argModuleCaption)
        {
            this.ModuleType = argModuleType;
            this.ModuleCaption = argModuleCaption;
        }
    }
}
